package site.yunnong.atvris.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 获取oss上传文件授权返回结果
 * @author zjh
 * @date 2021/7/25 14:16
 */
@Data
public class OssPolicyResult {
    
    @ApiModelProperty("访问身份验证中用到身份识别")
    private String accessKeyId;
    
    @ApiModelProperty("用户表单上传的策略，经过base64编码的字符串")
    private String policy;
    
    @ApiModelProperty("对policy签名后的字符串")
    private String signature;
    
    @ApiModelProperty("上传文件夹路径前缀")
    private String dir;
    
    @ApiModelProperty("oss对外服务的访问域名")
    private String host;
    
    @ApiModelProperty("上传成功的回调设置")
    private String callback;
}
